<?php
class View {
    private $_ = array();
    
    function __construct;
    function display();
    
    function assign($key, $value) {
        $this->_[$key] = $value;
    }
    
    function display() {
        $tpl = $config['aztec_home'].'/templates/'.$config['template'].'/index.tpl';
        if(file_exists($tpl)) {
            $tpl = file_get_contents($tpl);
        }
        else {
            die('Error while opening the template!!!');
        }
    }
}
?>
